package com.itheima.sh.esdemo.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "tb_sku")
public class Sku {
    @TableId(value = "id",type= IdType.AUTO)
    private String id;
    private String sn;
    private String name;
    private Integer price;
    private Integer num;
    private Integer alertNum;
    private String image;
    private String images;
    private Integer weight;
    private Date createTime;
    private Date updateTime;
    private String spuId;
    private Integer categoryId;
    private String categoryName;
    private String brandName;
    private String spec;
    private Integer saleNum;
    private Integer commentNum;
    private String status;
}
